package com.itheima;

public class Demo6 {
    public static void main(String[] args) {
        double Max = getMax(10, 20);
        System.out.println(Max);
    }

    public static double getMax(double a, double b) {
        return a > b ? a : b;

    }
}
